package com.atguigu.gulimail.product.service;

import com.atguigu.gulimail.product.vo.AttrGroupWithAttrsVo;
import com.atguigu.gulimail.product.vo.AttrVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimail.product.entity.AttrGroupEntity;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author huangjianyun
 * @email 2409441649@qq.com
 * @date 2021-09-06 13:16:02
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    //根据三级分类id进行分页查询商品分类属性分组
    PageUtils queryPage(Map<String, Object> params, Long catelogId);


    //根据商品分类id获取该分类下的所有的分组和所有的属性
    List<AttrGroupWithAttrsVo> getAttrGroupWithAttrsByCatelogId(Long catelogId);
}

